<div class="tab" id="tab">
    <div>
        <a href="#" class="tab-button">按钮1</a>
        <a href="#" class="tab-button">按钮2</a>
    </div>
    <div class="tab-panel">选项卡1</div>
    <div class="tab-panel">选项卡2</div>
</div>